package com.why.service;

import com.why.pojo.User;
import com.why.pojo.UserAddress;

import java.util.List;

public interface UserAddressService {
    UserAddress selectByPrimaryKey(Integer id);

    List<UserAddress> selectAddressByUserId(Integer userid);

    boolean insertSelective(UserAddress record);

    boolean deleteByPrimaryKey(Integer id);

    boolean updateByPrimaryKeySelective(UserAddress record);

    boolean updateAllIsDefault(UserAddress userAddress);
}
